package com.trainoo.hystrixdashboard;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * @Desc Hystrix监控面板
 * @Author trainoo
 * @Date 2019-12-03 22:31
 */
@EnableHystrixDashboard
@SpringCloudApplication
public class HystrixDashboardApplication {

    /**
     * http://localhost:10007/hystrix.stream
     * http://localhost:12001/turbine.stream
     */
    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardApplication.class, args);
    }

}
